import request from "@/utils/request";

// 查询撞库日志列表
export function listBizZhuangkuLog(query) {
  return request({
    url: "/biz/bizZhuangkuLog/list",
    method: "get",
    params: query,
  });
}

// 查询撞库日志详细
export function getBizZhuangkuLog(id) {
  return request({
    url: "/biz/bizZhuangkuLog/" + id,
    method: "get",
  });
}

// 新增撞库日志
export function addBizZhuangkuLog(data) {
  return request({
    url: "/biz/bizZhuangkuLog",
    method: "post",
    data: data,
  });
}

// 修改撞库日志
export function updateBizZhuangkuLog(data) {
  return request({
    url: "/biz/bizZhuangkuLog",
    method: "put",
    data: data,
  });
}

// 删除撞库日志
export function delBizZhuangkuLog(id) {
  return request({
    url: "/biz/bizZhuangkuLog/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizZhuangkuLog/findMaxSort",
    method: "get",
  });
}
// 导出撞库日志
export function exportBizZhuangkuLog(query) {
  return request({
    url: "/biz/bizZhuangkuLog/export",
    method: "get",
    params: query,
  });
}
